package com.system.blogAdmin.blog.service.impl;

import com.cnc.common.persistence.biz.BaseBizImpl;
import com.cnc.common.persistence.dao.BaseDao;
import com.system.blogAdmin.blog.dao.BlogCategoryDao;
import com.system.blogAdmin.blog.entity.BlogCategory;
import com.system.blogAdmin.blog.service.BlogCategoryService;
import com.system.blogAdmin.blog.entity.BlogCategory;
import com.system.blogAdmin.blog.dao.BlogCategoryDao;
import com.system.blogAdmin.blog.service.BlogCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * @描述：[BEAN_NAME]Service实现�?
 * @作�??:  Auto Code
 * @创建时间:  2017-6-22 11:26:25
 * @版本: 1.0
 */
@Service("blogCategoryService")
public class BlogCategoryServiceImpl extends BaseBizImpl<BlogCategory> implements BlogCategoryService {

    @Autowired
    private BlogCategoryDao blogCategoryDao;

    @Override
    protected BaseDao<BlogCategory> getDao() {
        return blogCategoryDao;
    }
    public void insertCategory(BlogCategory blogCategory){
        blogCategoryDao.insert(blogCategory);
    }
}
